package com.m2bshop.shop.dao;

import com.m2bshop.shop.pojo.JM;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author asus
 * @create 2022/6/15 10:06
 */
@Mapper
@Repository
public interface JMDao {
    @Select("select * from JM where userid = #{userid}")
    List<JM> GetGoodsList(int userId);
    @Select("DELETE FROM JM where id=#{id}")
    public void dele(int id);


}
